import Lodable from 'react-loadable'
export default function withLoadable(comp) {
    return Lodable({
    	//懒加载组件页面
        loader: comp,
        loading: () => {<div>lodable加载中</div>},
        delay: 800,
    })
}